package com.tengju.bff.interfaces.covercharge.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 银行账户表
 * </p>
 *
 * @author zhaoyi
 * @since 2020-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("w_service_bank")
public class ServiceBank implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账号id,service_account表的id
     */
    @TableField("account_id")
    private Integer accountId;

    /**
     * 代理id_code
     */
    @TableField("id_code")
    private Integer idCode;

    /**
     * 身份证姓名
     */
    @TableField("idcard_name")
    private String idcardName;

    /**
     * 身份证号
     */
    @TableField("idcard_no")
    private String idcardNo;

    /**
     * 银行卡号
     */
    @TableField("bank_no")
    private String bankNo;

    /**
     * 开户行
     */
    @TableField("bank_name")
    private String bankName;

    @TableField("platform_code")
    private String platformCode;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    @TableField("updated_at")
    private LocalDateTime updatedAt;


}
